const express = require("express")
const app = express()
const cors = require("cors")
const users = require("./router/users")

app.use(cors())
app.use(express.json())
app.use(users)


// 验证accesstoken

// 监听
app.listen(3000, () => {
    console.log('服务器启动成功')
})